package com.star.controller;

import com.star.mapper.OrderMapper;
import com.star.pojo.vo.OrderVO;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
@Slf4j
@RestController
@RequestMapping("/order")
public class OrderController {
    @Autowired
    private OrderMapper orderMapper;

    @RequestMapping("/zoreselect")
    public  List<OrderVO> listzore(){
        log.warn("VG更丰富的费用");
        return orderMapper.listzore();
    }

}
